<template>
  <div class="pre-screening-results">
    <div style="margin-bottom: 20px">
      <!-- <img v-if="type == '' || type == undefined" :src="require('@/assets/adopt.png')" alt=""> -->
      <!-- <img v-if="type == 'refuse'" :src="require('@/assets/refuse.png')" alt=""> -->
      <!-- <img v-if="type == 'wait'" :src="require('@/assets/wait.svg')" alt=""> -->
      <!-- <img v-if="type == 'applySuccess'" :src="require('@/assets/apply-success.png')" alt=""> -->
      <!-- <img v-if="type == 'applyFail'" :src="require('@/assets/apply-fail.png')" alt=""> -->
    </div>
    <p v-if="type == '' || type == undefined">您已通过线上预筛选，客户经理将尽快与您联系！</p>
    <p v-if="type == 'refuse'">非常抱歉，您暂不满足我行授信要求，感谢您的支持！</p>
    <p v-if="type == 'wait'">系统处理中，预筛选通过后，客户经理将尽快与您联系！</p>
  </div>
</template>

<script>
/**
 * <gz-adopt :type="'refuse'"></gz-adopt>    
 * type:  1.不传值表示预筛选结果 通过  2.传refuse值表示预筛选结果 不通过   3.传applySuccess表示申请结果  符合贷款要求正在审核中  4.传applyFail表示申请结果  不符合贷款要求
 */
  export default {
    name: "gzAdopt",
    props:['type']
  }
</script>

<style scoped>
.pre-screening-results{
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #86909C;
  background-color: #ffffff;
  border-radius: 10px;
  margin: 0 1em 1em;
}
.pre-screening-results div{
  width: 40%;
  margin: 0 auto;
}
.pre-screening-results div img{
  width: 100%;
}
</style>